<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <button id="log">Print All</button>
  <br>
  <div>
    username:
    <br>
    <input type="text" name="username">
    <br> password:
    <br>
    <input type="password" name="password">
    <br>
    <input type="radio" name="gender" checked>male
    <br>
    <input type="radio" name="gender">female
    <br>
    <input type="checkbox" name="loveME">loveME
    <br>
  </div>
  <pre></pre>
  <script src="test.js"></script>
</body>

</html>